package com.jfs.zlk.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description 流媒体服务器api 枚举类
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/7/27
 */
@AllArgsConstructor
@Getter
public enum MediaServerEnum {
    /**
     * 获取服务器配置
     */
    GET_SERVER_CONFIG("/index/api/getServerConfig", "获取服务器配置", "GET"),
    OPEN_RTP_SERVER("/index/api/openRtpServer", "创建GB28181 RTP接收端口，如果该端口接收数据超时，则会自动被回收", "GET"),

    SET_SERVER_CONFIG("/index/api/setServerConfig", "设置服务器配置", "GET"),
    IS_MEDIA_ONLINE("/index/api/getMediaList","判断直播流是否在线","GET");
    private final String url;
    private final String describe;
    private final String method;
}
